<?php get_header();?>
<?php get_sidebar();?>
<div id="primary">
              <!--BEGIN: PRODUCT THUMBNAIL-->
        <div class="product-thumb">
                <?php 
				//set_post_thumbnail_size( 250, 250 );
				the_post_thumbnail('medium'); ?>
        </div>
        <!--END: PRODUCT THUMBNAIL-->
 
        <!--BEGIN: PRODUCT INFO-->
        <div class="product-info">
                <h1><?php the_title(); ?></h1> <!--Tiêu đề sản phẩm-->
                <p class="product-price">
                        <?php echo "<strong>Phone:</strong> ". get_post_meta( $post->ID, 'wpcf-phone', true ); ?>
                </p><!--Giá sản phẩm-->
 				<p class="product-price">
                	<strong>Giá: </strong><?php echo get_post_meta($post->ID,'price',true);?>
                </p>
                <p class="product-status">
                        <?php echo "<strong>Tình trạng:</strong> ";
                                $product_status = get_post_meta( $post->ID, 'wpcf-product-status', true );
								echo $product_status;
                                if ($product_status == 1) {
                                        echo "Đang chiếu";
                                } else { echo "Sắp chiếu"; }
                        ?>
        </p><!--Tình trạng sản phẩm-->
 
                <div class="product-description">
                        <?php echo get_post_meta( $post->ID, 'wpcf-thong-tin-chi-tiet', true ); ?>
                </div><!--Mô tả sản phẩm-->
 
                <a href="#" class="order-button">Đặt hàng</a>
        </div>
        <!--BEGIN: PRODUCT INFO-->
</header>
 
<div class="post-info">
        <?php the_content(); ?>
</div>  
</div><!--End #primary-->

<?php get_footer();?>      